#include <iostream>
#include "logger.h"




int main(){
    MagLogger msg;
    msg.debug("Hello, world1");
    msg.info("Hello, world2");
    msg.warning("Hello, world3");
    std::vector<std::string>& messages = msg.getAllLog();
    for(auto& message : messages) {
        std::cout << message;
    }
    msg.exportLog("magtwin.log");
    return 0;
}

